<% provide(:title, 'Login') %>
<%= form_for :user, :url => { :action => "login" }, :html => {:class => "nifty_form form-horizontal"} do |f| %>
<fieldset>
		<legend>Login</legend>
		<div class="control-group">
			<label for='mail' class='control-label'>Mail</label>
			<div class="controls">
				<%= f.text_field :mail, :id  => "mail"%>
			</div>
		</div>
		<div class="control-group">
			<label for='password' class='control-label'>Password</label>
			<div class="controls">
				<%= f.password_field :password, :id  => "password"%>
			</div>
		</div>
		<div class="form-actions">
			<%= f.submit "Login", :class  => "btn" %>
		</div>
	</fieldset>
<% end %>